<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>掌中游商城首页</title>
		<link href="__PUBLIC__/Home/css/index.css" rel="stylesheet" type="text/css">
		<link href="__PUBLIC__/Home/css/banner.css" rel="stylesheet" type="text/css">
		<script src="__PUBLIC__/Home/js/jquery.min.js"></script>
	</head>

	<body>

	
	<include file="Public:header" />
	
	
		<!-- 当季热卖 -->

<div class="Selling">
<div class="daohang" style="width:1180px; margin:0 auto; margin-top:20px">当前的位置：<a href="{:U('Index/index')}">首页</a> > 商品列表</div>

<div class="daohang" style="width:1180px; margin:0 auto; margin-top:20px; font-weight:500; font-size:14px;">
<p class="fenlei_p">商品分类：
<foreach name="result_class" item="vo_fenlei">
<a class="fenlei_a" href="{:U('Index/goods')}?class_id={$vo_fenlei.id}">{$vo_fenlei.class_name}</a>
</foreach>
</p>

<p class="fenlei_p">二级分类：
<foreach name="class_sub" item="vo_sub">
<a class="fenlei_a" href="{:U('Index/goods')}?class_id={$_GET['class_id']}&class_sub_id={$vo_sub.id}">{$vo_sub.class_name}</a>
</foreach>
</p>


<p class="fenlei_p">价格区间：<a class="fenlei_a" href="{:U('Index/goods')}?price=1&class_id={$_GET['class_id']}">100元以下</a><a class="fenlei_a" href="{:U('Index/goods')}?price=2&class_id={$_GET['class_id']}">100 - 500元</a>
<a class="fenlei_a" href="{:U('Index/goods')}?price=3&class_id={$_GET['class_id']}">500 - 1000元</a><a class="fenlei_a" href="{:U('Index/goods')}?price=4&class_id={$_GET['class_id']}">1000元以上</a></p>
<form action="__SELF__" method="post">
关键词：
&nbsp;&nbsp;&nbsp;<input name="title" type="text" style="border:1px solid #CCC; height:24px; width:180px;" value="{$post.title}"/>
&nbsp;&nbsp;&nbsp;<input name="button" type="submit" value="搜 索" style="height:25px; padding:0 20px 0 10px;" />
&nbsp;&nbsp;&nbsp;<input name="button" type="button" value="刷 新" style="height:25px; padding:0 20px 0 10px;" onClick="chongzhi();" />
</form>
</div>
<script>
function chongzhi(){
	window.location.href = window.location.href;
}
</script>
<div class="floor1" style="border-bottom:1px dotted #CCC; padding-bottom:30px;">
	<h3 class="Columns1"><span>商品列表</span></h3>
	<if condition="!empty($result)">
		<ul>
		<foreach name="result" item="vo">
			<li style="padding:20px 9px;">
			<a href="{:U('Index/goods_details')}?id={$vo.id}"><img style="height:210px;" src="__PUBLIC__/Uploads/goods/{$vo.pic_url}"></a>
			<p class="title1" style="height:50px; font-size:12px; font-weight:500;">{$vo.title|msubstr=0,30,'utf-8',true}</p>
			<p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo.price_old}</span>
            <span style="float:right;">送积分: <span style="color:#FF9933; font-weight:600;">{$vo.fanli_jifen}积分&nbsp;&nbsp;</span></p>
			<p><span class="price1" style="float:none; margin-left:0;">￥{$vo.price_new}</span> 
			<a href="{:U('Index/goods_details')}?id={$vo.id}" class="buy1">立即购买</a></p>
			</li>
		</foreach>
		</ul>
	<else/>
		<div style="text-align:center; margin-top:40px;">没有查询到数据</div>
	</if>
    <div class="clear"></div>
    <div style="text-align:center; margin-top:20px;">{$page}</div>
</div>


	
</div>		

		
		<include file="Public:footer" />
		
	</body>

</html>